package com.zzedu.stu.req;

import jakarta.validation.constraints.NotBlank;

/**
 * 登录
 */
public class UpdatePwd {
    /**
     * 旧密码不能为空
     */
    @NotBlank(message = "旧密码不能为空")
    private String oldPassWord;

    /**
     * 新密码
     */
    @NotBlank(message = "新密码不能为空")
    private String passWord;

    /**
     * 确认密码
     */
    @NotBlank(message = "确认密码不能为空")
    private String confirmPassWord;

    public String getOldPassWord() {
        return oldPassWord;
    }

    public void setOldPassWord(String oldPassWord) {
        this.oldPassWord = oldPassWord;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    public String getConfirmPassWord() {
        return confirmPassWord;
    }

    public void setConfirmPassWord(String confirmPassWord) {
        this.confirmPassWord = confirmPassWord;
    }
}
